#include<iostream>
#include<unistd.h>
using namespace std;

int main(){
  while(1){

  cout<<"this process,s pid is "<<getpid()<<"this process,s ppid is "<<getppid()<<endl;
  sleep(1);
  }

  return 0;
}
